package com.codeoss.framework.data.metadata;

public class Order {
	private String name;
	private String order;
	private String orderSQL;
	public static Order desc(String name){
		Order order=new Order();
		order.setName(name);
		order.setOrder("desc");
		return order;
	}
	
	public static Order asc(String name){
		Order order=new Order();
		order.setName(name);
		order.setOrder("asc");
		return order;
	}

	public static Order sql(String ordersql){
		Order order=new Order();
		order.setOrderSQL(ordersql);
		return order;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getOrderSQL() {
		return orderSQL;
	}

	public void setOrderSQL(String orderSQL) {
		this.orderSQL = orderSQL;
	}  
}
